import java.util.Scanner;
public class Book37_4{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.printf("请输入圆柱底面半径和高：");
		int h,r;
		double s;
		r = input.nextInt();
		h = input.nextInt();
		s = Math.PI*r*r*h;
		System.out.println("圆柱的体积为：" + s);
	}
}